cd $SRC
make -C "$isim-$surum" DESTDIR="$PKG" install

  # extra directories
  install -dm755 "$PKG"/{etc,usr/lib}/{depmod,modprobe}.d

  for tool in {ins,ls,rm,dep}mod mod{probe,info}; do
    ln -s kmod "$PKG/usr/bin/$tool"
  done

  # install depmod.d file for search/ dir
  install -Dm644 "/sources/depmod-search.conf" "$PKG/usr/lib/depmod.d/search.conf"

  # hook
  install -Dm644 "/sources/depmod.hook" "$PKG/usr/share/libalpm/hooks/60-depmod.hook"
  install -Dm755 "/sources/depmod.script" "$PKG/usr/share/libalpm/scripts/depmod"